package com.huang.auth.endpoint;

import com.huang.auth.entity.vo.ValidationTokenVO;
import com.huang.entity.result.HStringResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * @author HuangShen
 * @Description
 * @create 2021-10-04 14:24
 */
@Api(tags = "token 验证模块")
public interface AuthTokenApi {




    @ApiOperation(value = "验证token")
    @GetMapping("/endpoint/tokenApi/validation")
    HStringResult<ValidationTokenVO> validationToken(@ApiParam(name = "用户token") @RequestParam(value = "token") String token);

}
